package entity;

import java.io.Serializable;

/**
 * Created by loma on 2017/10/12.
 */

public class Order implements Serializable {
    private String type;
    private boolean isChange;
    private boolean isImportant;
    private boolean isUrgent;
    private String note;
    private boolean isSupervise;
    private boolean isUrge;
    private int superviseCount;


    public String getSuperviseCountText() {
        return "督办"+getSuperviseCount()+"次";
    }

    public void setSuperviseCountText(String superviseCountText) {
        this.superviseCountText = superviseCountText;
    }

    private String superviseCountText;
    private String date;
    private String address;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public boolean isChange() {
        return isChange;
    }

    public void setChange(boolean change) {
        isChange = change;
    }

    public boolean isImportant() {
        return isImportant;
    }

    public void setImportant(boolean important) {
        isImportant = important;
    }

    public boolean isUrgent() {
        return isUrgent;
    }

    public void setUrgent(boolean urgent) {
        isUrgent = urgent;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }

    public boolean isSupervise() {
        return isSupervise;
    }

    public void setSupervise(boolean supervise) {
        isSupervise = supervise;
    }

    public boolean isUrge() {
        return isUrge;
    }

    public void setUrge(boolean urge) {
        isUrge = urge;
    }

    public int getSuperviseCount() {
        return superviseCount;
    }

    public void setSuperviseCount(int superviseCount) {
        this.superviseCount = superviseCount;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Order() {
    }


    public Order(String type, boolean isChange, boolean isImportant, boolean isUrgent, String note, boolean isSupervise, boolean isUrge, int superviseCount, String date, String address) {
        this.type = type;
        this.isChange = isChange;
        this.isImportant = isImportant;
        this.isUrgent = isUrgent;
        this.note = note;
        this.isSupervise = isSupervise;
        this.isUrge = isUrge;
        this.superviseCount = superviseCount;
        this.date = date;
        this.address = address;
    }


}
